// 头部模块
@import './variable';

@font-face {
    font-family: 'iconfont';
    src: url('../font/iconfont.eot');
    src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'),
        url('../font/iconfont.woff2') format('woff2'),
        url('../font/iconfont.woff') format('woff'),
        url('../font/iconfont.ttf') format('truetype'),
        url('../font/iconfont.svg#iconfont') format('svg');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.w {
    margin: 0 auto;
    width: 1200px;
}

.clear::after {
    content: '';
    display: block;
    clear: both;
}

header {
    background-color: #F7F9FA;
}
.wrap {
    height: 40px;
    font-size: 12px;
    .header_top{
        line-height: 40px;
        a,li {
            color: @color2;
        }
        a:hover {
            color: @color3;
        }
        .header_top_left {
            float: left;
            span,ul {
                float: left;
            }
            ul {
                margin-left: 50px;
            }
        }
        .header_top_right {
            float: right;
            ul li {
                float: left;
                margin: 0 7px;
                padding: 0 5px;
            }
            span {
                float: left;
                color: @color2;
            }
            .Shopping_Cart {
                position: relative;
                margin: 0 25px;
            }
            .Shopping_Cart::before {
                position: absolute;
                left: -16px;
                top: -2px;
                font-family: 'iconfont' !important;
                font-size: 16px;
                content: '\e707';
            }
            .Shopping_Cart::after {
                position: absolute;
                right: -12px;
                top: 13px;
                width: 16px;
                height: 16px;
                line-height: 16px;
                text-align: center;
                border-radius: 50%;
                color: #fff;
                content: '0';
                background-color: @color3;
            }
        }
        
    }

    .header_wrap {
        height: 64px;
        line-height: 64px;
        .header_content_left {
            span,li {
                float: left;
            }
            span {
                font-size: 18px;
                margin-right: 60px;
            }
            li {
                margin-right: 20px;
            }
            a {
                font-size: 14px;
                color: @color1;
            }
            a:hover {
                color: @color3;
            }
            span::before {
                position: relative;
                top: 5px;
                left: -2px;
                content: "\e6f7";
                font-size: 26px;
                color: #000;
            }
        }
        .header_content_right{
            float: right;
            input {
                padding: 0 10px;
                width: 240px;
                height: 30px;
                font-size: 14px;
                line-height: 30px;
                color: #000;
                border: none;
            }
            form {
                width: 300px;
                height: 50px;
                border-bottom: 1px solid @color3;
            }
            button {
                background-color: transparent;
                font-size: 25px;
                border: none;
                margin-left: 10px;
            }
        }
    }

    .header_content {
        border-bottom: 1px solid #f0f1f2;
    }

    .header_bottom {
        ul {
            padding: 16px 0;
            width: 100%;
            display: flex;
            justify-content: space-around
        }
        ul li {
            
            // flex-wrap: nowrap
        }
        ul li a {
            text-align: center;
            width: 100px;
            color: @color1;
        }
        a:hover {
            color: @color3;
        }
        ul li a img {
            height: 56px;
        }
        ul li a span {
            line-height: 0;
            display: block;
        }
    }
}

// 轮播图区域
.swiper-wrapper {
    height: 480px;
    img {
        width: 100%;
        // height: 480px;
    }
}